<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/15 0015
 * Time: 10:13
 */

namespace Cohuna\Models;


use Phalcon\Di;

class CohunaMerchantPay extends ModelBase
{
    public $id;
    public $pay_id;
    public $merchant_id;
    public $status;
    public function getSource()
    {
        return Di::getDefault()->getShared('config')->database->default->prefix . 'merchant_pay';
    }
    public function beforeUpdate()
    {

    }
    public function beforeCreate()
    {

    }
}